/**
 * Label组件
 * @class Label
 * @extends Basic
 * @param  [id] id
 *
 *
 * @param [value]  显示的文案
 * @param [className]  类名
 *
 *
 * @author chenzefang
 *
 * 示例：
 *
 *     @example
 *     <Label value="手机号" />
 */
var Label = React.createClass({
    getDefaultProps:function(){
        return {
            id:"",
            setFor:"",
            value:"这是Label",
            className:""
        }
    },
    render:function(){
        return(
            <label id = {this.props.id} For = {this.props.setFor} className = {"ucs-label "+this.props.className}>{this.props.value}</label>
        )
    }
});
module.exports = Label;